package com.ruoyi.zhgd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.util.PageUtils;
import com.ruoyi.zhgd.domain.NLaboratoryAsphaltRequiresRef;
import com.ruoyi.zhgd.domain.vo.NLaboratoryAsphaltRequiresRefVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryAsphaltRequiresRefBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.zhgd.dto.AsphaltRequiresDto;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 沥青技术要求_列表Service接口
 *
 * @author cj
 * @date 2023-09-21
 */
public interface INLaboratoryAsphaltRequiresRefService {

    /**
     * 查询沥青技术要求_列表
     */
    NLaboratoryAsphaltRequiresRefVo queryById(String id);

    /**
     * 查询沥青技术要求_列表列表
     */
    TableDataInfo<NLaboratoryAsphaltRequiresRefVo> queryPageList(NLaboratoryAsphaltRequiresRefBo bo, PageQuery pageQuery);

    /**
     * 查询沥青技术要求_列表列表
     */
    List<NLaboratoryAsphaltRequiresRefVo> queryList(NLaboratoryAsphaltRequiresRefBo bo);

    /**
     * 新增沥青技术要求_列表
     */
    Boolean insertByBo(NLaboratoryAsphaltRequiresRefBo bo);

    /**
     * 修改沥青技术要求_列表
     */
    Boolean updateByBo(NLaboratoryAsphaltRequiresRefBo bo);

    /**
     * 校验并批量删除沥青技术要求_列表信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    PageUtils queryPage(Page page, Map<String, Object> params);

    AsphaltRequiresDto detail(String id);

    List<NLaboratoryAsphaltRequiresRef> selectRequiresRef(String testType, String type);

    List<NLaboratoryAsphaltRequiresRef> getRequiresRefYd(String testType, String type);
}
